package com.lcf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.dubbo.config.annotation.Reference;
import com.lcf.Hello;
@Controller
@RequestMapping("/")
public class HelloController {
	@Reference
	private Hello hello;
	@ResponseBody
	@RequestMapping("hello")
	public void hello(String name){
		hello.say(name);
	}
}
